package com.cxrj.zhsq.userManage.dao;

import java.util.List;
import java.util.Map;

import com.cxrj.zhsq.userManage.entity.Role;

public interface RoleMapper {
	int deleteByPrimaryKey(String roleId);

	int insert(Role record);

	int insertSelective(Role record);

	Role selectByPrimaryKey(String roleId);

	int updateByPrimaryKeySelective(Role record);

	int updateByPrimaryKey(Role record);

	Map<String, Object> selectRoleById(String roleId);

	int getRoleCount(String s);

	List<Map<String, Object>> selectRolesPager(Map<String, Object> sqlMap);

	void insertRole(Map<String, Object> map);

	void updateRole(Role role);

	void deleteRolesByIds(String[] roleIds);

	void deleteRole(String roleId);

	List<Map<String, Object>> selectAllRoles(Map<String, Object> map);

	String selectUserSet(String roleId);

	void updateUserSet(Map<String, Object> paramMap);

	List<Map<String, Object>> selectByUserCode(Map<String, Object> map);

	List<Role> selectByCondition(String s);

	List<Map<String, Object>> selectRoleByIds(String roleId);
}